@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'YMOONT_VBAP CDS Entity'
define view entity YMOON_I_VBAP as select from YMOONT_VBAP
association to parent YMOON_I_VBAK as _Header
    on $projection.Orderuuid = _Header.Orderuuid
{
    key itemuuid as Itemuuid,
    orderuuid as Orderuuid,
    salesorderitem as Salesorderitem,
    material as Material,
    requestedquantity as Requestedquantity,
    requestedquantityunit as Requestedquantityunit,
    _Header // Make association public
}
